package com.geek.service;




import com.geek.bean.data.CommentListData;
import com.geek.bean.vo.CommentVo;
import com.geek.model.MarketComment;

import java.util.List;
import java.util.Map;

public interface CommentService {
    Map<String, Object> findById(Integer valueId, Byte valueType,Integer page,Integer limit);

    CommentVo count(Byte type, Integer valueId);

    List<CommentListData> list(Byte type, Short showType, Integer valueId , Integer page, Integer limit);;

    MarketComment post(int userId, Integer valueId, String content, short star, Boolean hasPicture, byte type, String [] picUrls);

}
